package com.fsy.spring.annotation1;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * Created by shuangyu.feng on 2017/8/9.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Person {

	String name() default "testName";

	int age() default 0;
}
